


.swiper-container {
  max-width: 100%;
  padding: 50px 20px;
  position: relative;
}

.swiper-slide {
  height: 400px;
  text-align: center;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
@media (max-width: 767px) {
  .swiper-slide{
    height: 100%;
  }
}

/* 滑块悬浮时的效果 */
.swiper-slide:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.news-item {
  padding: 20px;
}

.news-date {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.news-date-title {
  font-weight: bold;
  font-size: 24px;
  margin-right: 10px;
  color: #007bff;
}

.news-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-item img {
  width: 80%;
  height: auto;
  border-radius: 10px;
}

/* 导航按钮样式 */
.swiper-button-prev,
.swiper-button-next {
 
  width: 30px;
  height: 30px;
  padding: 10px;
  background-color: #ffffff00;
  
 
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, background-color 0.3s;
  font-size: 15px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  
  transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  
  font-size: 15px;
}



/* 分页器样式 */
.swiper-pagination-bullet {
  
  background-color: #007bff !important;
}

.swiper-pagination-bullet-active {
 
  background-color: #0056b3 !important;
}

@media screen and (max-width: 768px) {
  .swiper-slide {
    width: 100%; /* 每次显示1个滑块 */
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .swiper-slide {
    width: 50%; /* 每次显示2个滑块 */
  }
}

@media screen and (min-width: 1025px) {
  .swiper-slide {
    width: 33.33%; /* 每次显示3个滑块 */
  }
}

